<?php 
$arr2news =  $arr3news = array();
if(count($this->arrData) > 2){
    $arr2news = array_slice($this->arrData, 0, 2);
    if(count($this->arrData) > 3){
        $arr3news = array_slice($this->arrData, 2, 3);
    }
}
if(!empty($arr2news)){
?>
<div id="cate_ngoaihang" class="box_width_common euro2">
    <div class="title_cate">
        <p class="left"><?php echo $this->Categoryname($this->articleCategoryID); ?></p>
        <div class="txt_view_more"><a class="txt_gray" href="<?php echo $this->Categoryurl($this->articleCategoryID); ?>" title="Xem thêm" alt="Xem thêm">Xem thêm</a> <span class="icon_portal_thethao icon_view_more">&nbsp;</span></div>	
    </div>
    <div class="content_cate">
        <div class="block_vdqg box_width_common left">
            <div class="content_block">
                <div class="w320 left">
                    <div class="news_left"> 
                    <!-- get thumbnail and 2 news-->
                    <ul class="list_news">
                        <?php foreach ($arr2news as $key => $news) { ?>
                        <li class="<?php echo ($key==1)? 'end' :''; ?>">
                            <?php if(!empty($news['thumbnail_url'])){ ?>
                            <a href="<?php echo $this->articleurl($news);?>" title="<?php echo $news['title'];?>" alt="<?php echo $news['title'];?>"><img src="<?php echo $this->imageurl($news['thumbnail_url'], $this->imageSize['size3']);?>" width="155" height="116" title="<?php echo $news['title'];?>" alt="<?php echo $news['title'];?>" /></a>
                            <?php } ?>
                        <div class="decs">
                            <p><a href="<?php echo $this->articleurl($news);?>" class="txt_black_hover_blue" title="<?php echo $news['title'];?>" alt="<?php echo $news['title'];?>"><b><?php echo $news['title'];?></b></a><?php echo $this->ArticleViewIcon($news['privacy']); ?></p>
                            <p class="txt_gray txt_11"><?php echo $this->DateTimeFormat($news['publish_time']);?><span class="icon_portal_thethao icon_commend">&nbsp;</span> <?php echo $this->articlecomment($news); ?></p>
                        </div>
                        </li>
                        <?php }?>
                    </ul>
                    </div>
                </div>
                <!--3 tin sau do-->
                <div class="w320 right">
                    <div class="news_right">
                    <ul class="list_dot_3x3">
                        <?php if(!empty($arr3news)){
                            $last_key = key(array_slice($arr3news, -1, 1, TRUE));
                            foreach ($arr3news as $key => $news) { ?>
                        <li <?php echo ($last_key == $key)? 'class="end"' :''; ?>>
                        <div class="box_width_common dot_bottom">
                            <p><a href="<?php  echo $this->articleurl($news);?>" class="txt_black_hover_blue" title="<?php echo $news['title'];?>" alt="<?php echo $news['title'];?>"><b>
                            <?php  echo $news['title'];?>
                            </b></a></p>
                            <p>
                            <?php  echo $news['lead'];?>
                            </p>
                        </div>
                        </li>
                        <?php }}?>
                    </ul>
                    </div>
                </div>
                <div class="clear">&nbsp;</div>
            </div>
        </div>
    </div>
</div>
<?php } ?>